/*
 * @Descripttion: 问卷调查
 * @Author: xiao li
 * @Date: 2020-07-06 12:17:06
 * @LastEditors: xiao li
 * @LastEditTime: 2021-01-29 13:42:40
 */
import {get, post} from '../index'
export default {
  // 问卷列表
  appointmentQuestionList (querys) {
    return post('/appoint/admin/AdminQuestion/questionList', querys)
  },
  // 新增问卷
  appointmentQuestionAdd (querys) {
    return post('/appoint/admin/AdminQuestion/questionAdd', querys)
  },
  // 问卷详情
  appointmentQuestionInfo (querys) {
    return post('/appoint/admin/AdminQuestion/questionInfo', querys)
  },
  // 编辑问卷
  appointmentQuestionUpdate (querys) {
    return post('/appoint/admin/AdminQuestion/questionUpdate', querys)
  },
  // 问卷关联题目列表
  appointmentQueTextListInfo (querys) {
    return post('/appoint/admin/AdminQuestion/textListInfo', querys)
  },
  // 新增题目
  appointmentQueTextAdd (querys) {
    return post('/appoint/admin/AdminQuestion/queTextAdd', querys)
  },
  // 编辑题目
  appointmentQueTextUpdate (querys) {
    return post('/appoint/admin/AdminQuestion/queTextUpdate', querys)
  },
  // 删除题目
  appointmentQueTextDel (querys) {
    return post('/appoint/admin/AdminQuestion/queTextDel', querys)
  },
  // 关联跳转题目
  appointmentJumpSelectText (querys) {
    return post('/appoint/admin/AdminQuestion/jumpSelectText', querys)
  },
  // 问卷统计
  appointmentQueForm (querys) {
    return post('/appoint/admin/AdminQuestion/queForm', querys)
  },
  // 用户提交问卷详情
  appointmentUserQueInfo (querys) {
    return post('/appoint/admin/AdminQuestion/userQueInfo', querys)
  },
  // 导出数据
  appointmentQueExcel (querys) {
    return get('/appoint/admin/AdminQuestion/queExcel', querys)
  }
}
